//表格内图片
.table-cell-img {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;

    .el-image {
        width: 50px;
        height: 40px;
        background: #f0f0f0;
        border-radius: 2px;
        display: flex;
        [class*="el-icon-"]{
            font-size: 32px;
            color: #ddd;
            margin: auto;
        }
        + * {
            margin-left: 5px;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
        }
    }
}

// 弹窗表单两列模式
.form-item-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;

    > div:not(.el-form-item) {
        width: 100%;
    }

    &.column-2 {
        > .el-form-item {
            width: 48%;
            margin-right: 0;
            margin-bottom: 10px;
        }

        .el-select {
            width: 100%;
        }
    }

}

// 表单附属底部内容
.el-form-item {
    .form-sub-bottom {
        position: absolute;
        left: 0;
        top: 30px;

        + .el-form-item__error {
            left: unset;
            right: 0;
        }
    }
}

// 表格内校验的表单错误提示居右
.el-table {
    .el-form-item__error {
        position: relative;
    }
}

// 颜色
.success {
    color: #13ce66;
    &:hover,&:focus{
        color: #13ce66;
        opacity: .75;
    }
}

.danger {
    color: #ff4949;
    &:hover,&:focus{
        color: #ff4949;
        opacity: .75;
    }
}

.add-row-center-box{
    width: 800px;
    margin: auto;
    .el-form-item__content {
        line-height: unset;
    }

    .footer{
        margin: 40px 0;
        text-align: center;
    }
}

.fade-transform-leave-active{
    position: unset !important;
}
